package com.pro.xwt.common.mapper;

import java.util.List;

import com.pro.xwt.common.model.VideoResourceEntity;

public interface VideoResourceMapper extends BaseMapper<VideoResourceEntity, String>{
	/**
	 * 查询权限树集合
	 * @param parameter 参数中必须包含roleId,其他参数可参考mapping文件
	 * @return
	 */
    // public List<VideoResourceEntity> queryVideoResourceList(Map<String, Object> parameter);
    //添加
    public int insert(VideoResourceEntity videoResource);
    //修改
    public int update(VideoResourceEntity videoResource);
    //刪除
    public int deleteBatchById(List<Long> videoIds);
    //查询
    public VideoResourceEntity findById(String id);
}